package com.yxw.yx_hotel.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(value="UserCenterInfoQueryDTO", description="个人中心查询dto")
public class UserCenterInfoQueryDTO implements Serializable {

    @ApiModelProperty(value = "需要查询的userId", required = true)
    @NotNull(message = "需要查询的userId不能为空！")
    private Long userId;
}
